package com.aqiang.day0421.sp;

import android.content.Context;
import android.content.SharedPreferences;

public class SPutlis {
    private SPutlis(){

    }

    private static SPutlis sPutlis = new SPutlis();

    public static  SPutlis getInstance(){
        return sPutlis;
    }

    public SharedPreferences getSP(Context context,String name){
        return context.getSharedPreferences(name,Context.MODE_PRIVATE);
    }
}
